|
![](/i/fill.gif) |
BTW. I have set the memory cache to largest, and of course, negative values also
appear on completely rendered images.
Alberto.
I don't know if of any use, but here is the code of the example.
global_settings{max_trace_level 90}
camera{location 10*<0,5,-5> look_at 0 angle 7.25}
light_source{<-4,4,-4> rgb 1}
light_source{< 4,4,-4> rgb 1}
sky_sphere{
pigment{bozo color_map{
[0 rgb <1,.5,0>] [1 rgb .5* <1,.5,0>]
}
}
}
disc{-3*y y 10
pigment{checker rgb <1,.5,0>, rgb .5* <1,.5,0>}
rotate 30*y
}
#macro Knot(m, r, n, th)
#local mp = m+1; #local k = 0;
blob{threshold th
#while(k < n)
#local s = 2*pi*k/n;
sphere{
< (2 + cos(mp*s))*cos(m*s), 2*sin(mp*s),
(2 + cos(mp*s))*sin(m*s)
>, r, 1
}
#local k = k + 1;
#end
}
#end
object{Knot(3 .6 1500 4)
finish{ ambient 0 diffuse 0
specular 1 roughness .002}
interior{ior 1.1 caustics .1}
pigment{rgbf <1,1,1,.9>}
}
Post a reply to this message
|
![](/i/fill.gif) |